TARGET=client

SRC=$(shell echo *.cpp)
OBJ=$(patsubst %.cpp,%.o,$(SRC))

INC=-I.
LIBS=-lboost_system -lboost_filesystem

CFLAGS:=-m64 -g -O3 -lrt $(INC)
CPPFLAGS:=$(CFLAGS) -std=c++0x

all:$(TARGET)

$(TARGET):$(OBJ)
	$(CXX) $^ $(LIBS) -o $@

clean:
	rm -rf $(TARGET)
	rm -rf $(OBJ)
